package com.lemon.exam.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 角色菜单资源 - 数据传输对象
 * 更新菜单权限时的传入对象
 *
 * @author Lemon
 * @since 2025/5/7 16:40
 */
@Getter
@Setter
@ToString
@Schema(name = "角色菜单资源 - 数据传输对象")
public class RoleMenuResourceDTO {
    @Schema(description = "角色ID")
    private Long roleId;

    @Schema(description = "菜单ID")
    private Long menuId;

    @Schema(description = "资源路径")
    private String resourcePath;

    @Schema(description = "是否选中")
    private Boolean selected;
}
